home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist6.3 / ViewKit_dev.idb / usr / include / Vk / VkOutlineASB.h.z / VkOutlineASB.h
Encoding:
C/C++ Source or Header  |  1996-09-20  |  2.1 KB  |  58 lines

  1.  
  2. ////////////////////////////////////////////////////////////////////////////////
  3. ///////   Copyright 1992, Silicon Graphics, Inc.  All Rights Reserved.   ///////
  4. //                                                                            //
  5. // This is UNPUBLISHED PROPRIETARY SOURCE CODE of Silicon Graphics, Inc.;     //
  6. // the contents of this file may not be disclosed to third parties, copied    //
  7. // or duplicated in any form, in whole or in part, without the prior written  //
  8. // permission of Silicon Graphics, Inc.                                       //
  9. //                                                                            //
  10. // RESTRICTED RIGHTS LEGEND:                                                  //
  11. // Use,duplication or disclosure by the Government is subject to restrictions //
  12. // as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data     //
  13. // and Computer Software clause at DFARS 252.227-7013, and/or in similar or   //
  14. // successor clauses in the FAR, DOD or NASA FAR Supplement. Unpublished -    //
  15. // rights reserved under the Copyright Laws of the United States.             //
  16. //                                                                            //
  17. ////////////////////////////////////////////////////////////////////////////////
  18.  
  19. #ifndef VKOUTLINE_ASB_H
  20. #define VKOUTLINE_ASB_H
  21.  
  22. #include <Vk/VkOutline.h>
  23. #include <Sgm/ScrollBar.h>
  24.  
  25. class VkOutlineASB : public VkOutline {
  26.  
  27.  public:
  28.  
  29.     VkOutlineASB (const char *, Widget );
  30.     virtual ~VkOutlineASB ();
  31.  
  32.     void displayAll ();
  33.     virtual void toggleChildren (int position);
  34.  
  35.     void highlight (char** items, int highlightIndex);
  36.     void highlight (int position, int highlightIndex);
  37.     void unhighlight (int highlightIndex);
  38.  
  39.     void setAnnotation (int highlightIndex, Boolean);
  40.  
  41.  protected:
  42.  
  43.     Widget _scrollBarW;
  44.     Boolean _annotationStates [MaxAttributeSets];
  45.  
  46.     void paintAsbPixmap (ASBCallbackStruct*);
  47.  
  48.   private:
  49.  
  50.     static int autoScrollPos;
  51.  
  52.     void walkToPaint (VkOlNode*, Pixmap, float, int, int);
  53.     static void ASBpixmapCallback (Widget, XtPointer, XtPointer);
  54. };
  55.  
  56. #endif
  57.  
  58.